<style type="text/css">
    @media (max-width: 375px) {
        .edit-form tr td input{width:100%;}
        .edit-form tr th:first-child,.edit-form tr td:first-child{
            width:20%;
        }
        .edit-form tr th:last-child,.edit-form tr td:last-child{
            display: none;
        }
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead">
            <table class="table" style="width:60%;">
                <thead>
                    <tr>
                        <th width="30%"></th>
                        <th width="70%"></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td><b>任务编号：</b></td>
                        <td>{$data['task_no']}</td>
                    </tr>
                    <tr>
                         <td><b>任务领取时间：</b></td>
                        <td>{$data['get_start_time']|date='Y-m-d H:i:s',###}-{$data['get_end_time']|date='Y-m-d H:i:s',###}</td>
                    </tr>
                    <tr>
                         <td><b>申请时间：</b></td>
                        <td>{$data['createtime']|date='Y-m-d H:i:s',###}</td>
                    </tr>
                </tbody>
                
            </table>
            <div>
                <p><span>任务费用</span>：<span style="font-size: 16px; font-weight: 800;">￥</span>{$data['task_price']}</p>
                <p><span><?php echo($data['complete_order']);?>人完成</span>/<span>￥</span><?php echo($data['origin_task_num'] - $data['task_num']);?>人领取</p>
            </div>
        </div>  
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="basic">
                <div class="widget-body no-padding">
                    <form id="basic-form" class="edit-form form-horizontal nice-validator n-default n-bootstrap" role="form" data-toggle="validator" method="POST" action="{:url('Task/setbusiness')}" novalidate="novalidate">
                        <table class="table table-striped" >
                            <thead>
                                <tr>
                                    <th width="20%"></th>
                                    <th width="70%"></th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td><b>任务名称：</b></td>
                                    <td>{$data['task_title']}</td>
                                </tr>
                                <tr>
                                    <td><b>任务示意图：</b></td>
                                    <td>
                                        <?php if(!empty($data['xg_img'])):?>
                                            <?php foreach($data['xg_img'] as $val):?>
                                            <img src="{$val}" style="width: 120px; max-width: 120px;" />
                                            <?php endforeach;?>
                                        <?php endif;?>
                                    </td>
                                </tr>
                                <tr>
                                    <td><b>上刊部位：</b></td>
                                    <td>{$data['push_position']}</td>
                                </tr>
                                <tr>
                                    <td><b>展示时长：</b></td>
                                    <td>{$data['show_time']}周</td>
                                </tr>
                                <tr>
                                    <td><b>酬金：</b></td>
                                    <td>{$data['task_price']}元</td>
                                </tr>
                                <tr>
                                    <td><b>任务数：</b></td>
                                    <td>{$data['task_num']}</td>
                                </tr>
                                <tr>
                                    <td><b>品牌要求：</b></td>
                                    <td>{$data['car_brand_list']}</td>
                                </tr>
                                <tr>
                                    <td><b>车型要求：</b></td>
                                    <td>{$data['car_type_list']}</td>
                                </tr>
                                <tr>
                                    <td><b>车身颜色要求：</b></td>
                                    <td>{$data['car_color_list']}</td>
                                </tr>
                                <tr>
                                    <td><b>居住地要求：</b></td>
                                    <td>{$data['address_list']}</td>
                                </tr>
                                <tr>
                                    <td><b>上刊时间：</b></td>
                                    <td>{$data['sk_start_time']|date='Y-m-d H:i:s',###}-{$data['sk_end_time']|date='Y-m-d H:i:s',###}</td>
                                </tr>
                                <tr>
                                    <td><b>上刊网点：</b></td>
                                    <td>{$data['wd_position']}</td>
                                </tr>
                                <tr>
                                    <td><b>任务说明：</b></td>
                                    <td>{$data['task_desc']}</td>
                                </tr>
                            </tbody>
                            <tfoot>
                                <tr>
                                    <td></td>
                                    <td>

                                    </td>
                                    <td></td>
                                </tr>
                            </tfoot>
                        </table>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>